package com.xauto.pioneer.appuser.model;

import org.json.JSONObject;

/**
 * Created by Ellis.Li on 2017/5/16.
 */

public class ReserveInfo extends BaseModel<ReserveInfo>{
    public String reserve_type;
    /** 预约开始时间(unix_time)**/
    public String reserve_start_time;
    /** 预约剩余时间(second)**/
    public String reserve_remind_time;
    @Override
    public ReserveInfo parse(JSONObject jsonObject) {
        if(jsonObject != null) {
            reserve_type = jsonObject.optString("reserve_type");
            reserve_start_time = jsonObject.optString("reserve_start_time");
            reserve_remind_time = jsonObject.optString("reserve_remind_time");
        return this;
    }
        return null;
    }
}
